package com.example.cloud.dao.business.medical;

import com.alibaba.fastjson.annotation.JSONField;
import com.example.cloud.model.common.CommonModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Created by ygl on 2017/4/9.
 */
@Entity(name = "physiological_data")
@Data
public class PhysiologicalData extends CommonModel {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    @Column(name = "patient_id")
    private Long patientId;

    @Column(name = "complaint_id")
    private Long complaintId;

    @Column(name = "clean_face")
    private String cleanFace;

    @Column(name = "clean_face_wait_time")
    private String cleanFaceWaitTime;

    @Column(name = "temperature")
    private String temperature;

    @Column(name = "humidity")
    private String humidity;

    @Column(name = "climate")
    private String climate;

    @Column(name = "clinical_diagnosis")
    private String clinicalDiagnosis;

    @Column(name = "moisture")
    private String moisture;

    @Column(name = "grease")
    private String grease;

    @Column(name = "elasticity")
    private String elasticity;

    @Column(name = "ph")
    private String ph;

    @Column(name = "melanin")
    private String melanin;

    @Column(name = "twel_nose")
    private String twelNose;

    @Column(name = "twel_chin")
    private String twelChin;

    @Column(name = "twel_cheekbones")
    private String twelCheekbones;

    @Column(name = "twel_cheek")
    private String twelCheek;

    @Column(name = "twel_mouth_weeks")
    private String twelMouthWeeks;

    @Column(name = "gain")
    private String gain;

    @Column(name = "skin_thickness")
    private String skinThickness;

    @Column(name = "intensity_score")
    private String intensityScore;

    @Column(name = "skin_ultrasound")
    private String skinUltrasound;

    @JSONField(serialize = false)
    @Column(name="account_id")
    private Long accountId;
}
